package com.jingdong.callback.model;

/**
 * 订单信息
 * 
 * @author SDK Team
 */
public class Order {
    
    /**
     * 订单ID
     */
    private Long id;
    
    /**
     * 平台订单号
     */
    private String platformOrderNo;
    
    /**
     * 本地订单号
     */
    private String orderNo;
    
    /**
     * 京东门店ID
     */
    private String jdStoreId;
    
    /**
     * 配送商商户ID
     */
    private String carrierMerchantId;
    
    /**
     * 骑手ID
     */
    private Long riderId;
    
    /**
     * 骑手姓名
     */
    private String riderName;
    
    /**
     * 骑手手机号
     */
    private String riderPhone;
    
    /**
     * 骑手经度
     */
    private Double riderLng;
    
    /**
     * 骑手纬度
     */
    private Double riderLat;
    
    /**
     * 费用信息
     */
    private OrderFee fee;
    
    // Getters and Setters
    
    public Long getId() {
        return id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public String getPlatformOrderNo() {
        return platformOrderNo;
    }
    
    public void setPlatformOrderNo(String platformOrderNo) {
        this.platformOrderNo = platformOrderNo;
    }
    
    public String getOrderNo() {
        return orderNo;
    }
    
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    
    public String getJdStoreId() {
        return jdStoreId;
    }
    
    public void setJdStoreId(String jdStoreId) {
        this.jdStoreId = jdStoreId;
    }
    
    public String getCarrierMerchantId() {
        return carrierMerchantId;
    }
    
    public void setCarrierMerchantId(String carrierMerchantId) {
        this.carrierMerchantId = carrierMerchantId;
    }
    
    public Long getRiderId() {
        return riderId;
    }
    
    public void setRiderId(Long riderId) {
        this.riderId = riderId;
    }
    
    public String getRiderName() {
        return riderName;
    }
    
    public void setRiderName(String riderName) {
        this.riderName = riderName;
    }
    
    public String getRiderPhone() {
        return riderPhone;
    }
    
    public void setRiderPhone(String riderPhone) {
        this.riderPhone = riderPhone;
    }
    
    public Double getRiderLng() {
        return riderLng;
    }
    
    public void setRiderLng(Double riderLng) {
        this.riderLng = riderLng;
    }
    
    public Double getRiderLat() {
        return riderLat;
    }
    
    public void setRiderLat(Double riderLat) {
        this.riderLat = riderLat;
    }
    
    public OrderFee getFee() {
        return fee;
    }
    
    public void setFee(OrderFee fee) {
        this.fee = fee;
    }
    
    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", platformOrderNo='" + platformOrderNo + '\'' +
                ", orderNo='" + orderNo + '\'' +
                ", jdStoreId='" + jdStoreId + '\'' +
                ", carrierMerchantId='" + carrierMerchantId + '\'' +
                ", riderId=" + riderId +
                ", riderName='" + riderName + '\'' +
                ", riderPhone='" + riderPhone + '\'' +
                ", riderLng=" + riderLng +
                ", riderLat=" + riderLat +
                ", fee=" + fee +
                '}';
    }
}
